﻿@model SGC_CarteraClientes.Models.CA_CANAL_DISTRIBUCION

@{
    ViewBag.Title = "Create";
}

<h2>Nuevo Canal de Distribución</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Canales de Distribución</legend>

        <div class="editor-label">
            @Html.Label("Codigo")
            @*@Html.LabelFor(model => model.CANAL_ID)*@
        </div>
        <div class="editor-field">
            @Html.Label("---")
            @*
            @Html.EditorFor(model => model.CANAL_ID)
            @Html.ValidationMessageFor(model => model.CANAL_ID)
            *@
        </div>

        <div class="editor-label">
            @Html.Label("Descripción")
            @*@Html.LabelFor(model => model.CANAL_DESCRIP)*@
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CANAL_DESCRIP)
            @Html.ValidationMessageFor(model => model.CANAL_DESCRIP)
        </div>

        <div class="editor-label">
            @Html.Label("Fecha Inicio Vigencia")
            @*@Html.LabelFor(model => model.CANAL_FINICIO)*@
        </div>
        <div class="editor-field d-tcal">
            @Html.EditorFor(model => model.CANAL_FINICIO, new {@class="tcal" })
            @Html.ValidationMessageFor(model => model.CANAL_FINICIO)
        </div>

        <div class="editor-label">
            @Html.Label("Fecha Fin Vigencia")
            @*@Html.LabelFor(model => model.CANAL_FFIN)*@
        </div>
        <div class="editor-field d-tcal">
            @Html.EditorFor(model => model.CANAL_FFIN, new {@class="tcal" })
            @Html.ValidationMessageFor(model => model.CANAL_FFIN)
        </div>

        <div class="editor-label">
            @Html.Label("Tipo Canal")
            @*@Html.LabelFor(model => model.TIPOCANAL_ID, "CA_TIPOCANAL")*@
        </div>
        <div class="editor-field">

            @Html.DropDownList("TIPOCANAL_ID", String.Empty)
           @Html.ValidationMessageFor(model => model.TIPOCANAL_ID)
        </div>


        <p>
            <input type="submit" value="Grabar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Cancelar", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    @Styles.Render("~/Content/themes/base/css")
}
<script type="text/javascript">
   
</script>